Separate DB almost fixed
[RRRRHHHH_Code] / ruralHouses client / src / gui / HouseFeaturesGUI.java
index 39d0bc9..c4bb654 100644 (file)
@@ -301,6 +301,7 @@ public class HouseFeaturesGUI extends JFrame {
                        Vector<Booking> book = null;
                        try {
                                if (table.getRowCount() != 0) {
+                                       row = table.getSelectedRow();
                                        Client cl = new Client(nameField.getText(),
                                                        mailField.getText(), telIn.getText());
                                        book = bookingM.createBooking(rh, offers.get(row)